package com.douqu.game.core.entity.battle;


import com.douqu.game.core.e.E_BattleDetailType;

/**
 * Created by bean on 2017/9/22.
 */
public class PlayerBattleData {

    private String battleId;


    private E_BattleDetailType battleDetailType;

    private int teamNo;

    private String battleServerHost;

    private int battleServerPort;

    public PlayerBattleData(String battleId, E_BattleDetailType battleDetailType, String battleServerHost, int battleServerPort)
    {
        this.battleId = battleId;
        this.battleDetailType = battleDetailType;
        this.battleServerHost = battleServerHost;
        this.battleServerPort = battleServerPort;
    }

    public PlayerBattleData() {
    }

    public int getBattleType()
    {
        return battleDetailType.getBattleType();
    }


    public String getBattleId() {
        return battleId;
    }

    public void setBattleId(String battleId) {
        this.battleId = battleId;
    }

    public int getTeamNo() {
        return teamNo;
    }

    public void setTeamNo(int teamNo) {
        this.teamNo = teamNo;
    }

    public String getBattleServerHost() {
        return battleServerHost;
    }

    public void setBattleServerHost(String battleServerHost) {
        this.battleServerHost = battleServerHost;
    }

    public int getBattleServerPort() {
        return battleServerPort;
    }

    public void setBattleServerPort(int battleServerPort) {
        this.battleServerPort = battleServerPort;
    }

    public E_BattleDetailType getBattleDetailType() {
        return battleDetailType;
    }

    public void setBattleDetailType(E_BattleDetailType battleDetailType) {
        this.battleDetailType = battleDetailType;
    }

    @Override
    public String toString() {
        return "{" +
                "battleId='" + battleId + '\'' +
                ", battleDetailType=" + battleDetailType +
                ", teamNo=" + teamNo +
                ", battleServerHost='" + battleServerHost + '\'' +
                ", battleServerPort=" + battleServerPort +
                '}';
    }
}
